{% from 'bootstrap5/form.html' import render_form %}
{% extends 'base.html' %}


{% block title %}FLASKY博客{% endblock %}

{% block page_content %}

<div class="page-header"> 
    <h1>你好, {% if current_user.is_authenticated %}
                    {{ current_user.username }}
                {% else %}
                    陌生人
                {% endif %}!
    </h1> 
    {% if not known %}
        <p>很高兴见到你！</p>
    {% else %}
        <p>欢迎老朋友！</p>
    {% endif %}
</div> 


<p>北京时间： {{ moment(current_time).format('LLL') }}.</p> 
<p>当前是 {{ moment(current_time).fromNow(refresh=True) }}</p>


{% endblock %}
    
    

